﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SiteAdmin/MasterPage.master" AutoEventWireup="true" CodeFile="CostBillEdit.aspx.cs" Inherits="PMSWeb_CostBillEdit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="contentPlaceHolderID" Runat="Server">
<asp:Panel ID="pnlGrid" runat="server" CssClass="centerPanel" Width="95%" Height="500px" >
<div class="webPanelBorder" >
    <div class="webPanelCaption">收费项管理(取消钩选代表该用户不收取该项费用)</div>
    <div class="webPanelContent" style="width:100%; OVERFLOW: auto; scrollbar-face-color: #FFFFFF; scrollbar-shadow-color: #D2E5F4; scrollbar-highlight-color: #D2E5F4; scrollbar-3dlight-color: #FFFFFF; scrollbar-darkshadow-color: #FFFFFF; scrollbar-track-color: #FFFFFF; scrollbar-arrow-color: #D2E5F4" > 
        <ofcc:GridView ID="gridView" runat="server" AutoGenerateColumns="True" 
            OnRowDataBound="gridView_RowDataBound" 
            onsplitpageindexchange="gridView_SplitPageIndexChange">
            <Columns>
            </Columns>
        </ofcc:GridView>
     </div>
</div>
<div class="webPanelButtonArea">
    <ofcc:LinkButton ID="btnBack" runat="server" OnClick="btnBack_Click" CssClass="linkButton" >上一步</ofcc:LinkButton>
    <ofcc:LinkButton ID="btnSave" runat="server" OnClick="btnSave_Click" CssClass="linkButton" >全部确认</ofcc:LinkButton>
    <ofcc:LinkButton ID="btnCancel2" runat="server"  OnClick="btnCancel_Click" CssClass="linkButton" >返回</ofcc:LinkButton>
</div>
</asp:Panel>


<asp:Panel ID="pnlEdit" runat="server" Width="700px" Visible="false" CssClass="centerPanel">
<div class="webPanelBorder" >
    <div class="webPanelCaption">收费项管理</div>
    <div class="webPanelContent">
        <table cellspacing="1" class="table">
            <tr>
                <td class="tableSubjectWidth">收费单名称：
                </td>
                <td><asp:TextBox ID="tbSubject" runat="server" CssClass="shortInput" MaxLength="30" ></asp:TextBox>
                    <ofcc:RequiredField ID="RequiredField1" runat="server" />
                </td>
            </tr>
            <tr>
                <td>收费日期：</td>
                <td><asp:TextBox ID="tbBillDate" runat="server" onfocus="calendar.ShowCaltable(this, event);" CssClass="shortInput" MaxLength="30" ></asp:TextBox>
                <ofcc:RequiredField ID="RequiredField2" runat="server" />
                </td>
            </tr>
            <tr>
                <td>收费范围</td>
                <td>
                    <asp:CheckBoxList ID="cbHouseNo" runat="server" RepeatDirection="Horizontal" RepeatColumns="4">
                    </asp:CheckBoxList>
                </td>
            </tr>
        </table>
    </div>
</div>
    
    
<div class="webPanelButtonArea">
    <ofcc:LinkButton ID="btnNext" runat="server" OnClick="btnNext_Click" CssClass="linkButton" ValidationGroup="submit">下一步</ofcc:LinkButton>
    <ofcc:LinkButton ID="btnCancel" runat="server" OnClick="btnCancel_Click"  CssClass="linkButton">返回</ofcc:LinkButton>
</div>

<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbSubject"
    Display="None" ErrorMessage="请输入收费单名称" ValidationGroup="submit"></asp:RequiredFieldValidator>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="tbBillDate"
    Display="None" ErrorMessage="请输入收费日期" ValidationGroup="submit"></asp:RequiredFieldValidator>
<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="tbBillDate" 
    Display="None" ErrorMessage="收费日期格式错误[yyyy-MM-dd]"  ValidationGroup="submit" Operator="DataTypeCheck" Type="Date" ></asp:CompareValidator>

<asp:ValidationSummary ID="ValidationSummary1" runat="server" EnableViewState="False"
    ShowMessageBox="True" ShowSummary="False" ValidationGroup="submit" />    
</asp:Panel>

<asp:HiddenField ID="hfAddOrEdit" runat="server" />
<asp:HiddenField ID="hfBillID" runat="server" />
</asp:Content>

